home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
misc
/
pdflib
/
test
/
smakefileppc
< prev
next >
Wrap
Text File
|
1999-12-06
|
1KB
|
66 lines
# Makefile for PDFlib tests
#
# modified for Amiga SAS/C PPC by ARK (28/Nov/99)
#
VERSION = @VERSION@
SHELL = @SHELL@
INSTALL = @INSTALL@
srcdir = /clients
INCDIR =
CC = SCPPC
CCOPT =
LD =
LDOPT =
OBJ = o
EXE = .elf
RM = #delete
AR = ppc-amigaos-ar
RANLIB = ppc-amigaos-ranlib
AROPTS =
PDFLIBM = /lib/libpdf.a
PDFLIB = ../lib/libpdf.a
LIBS = $(PDFLIB)
LDFLAGS =
.SUFFIXES: .c
.c.o:
$(CC) $(CFLAGS) $(DEFINES) $<
# ------------------------------
SRC = \
$(srcdir)/pdftest.c
OBJS = \
$(srcdir)/pdftest.$(OBJ)
all: pdftest$(EXE)
test: pdftest$(EXE)
LD_LIBRARY_PATH=../pdflib ./pdftest
pdftest$(EXE): pdftest.$(OBJ) $(PDFLIBM)
ppc-amigaos-ld -r LIB:c_ppc.o pdftest.o ../util/getopt.o $(PDFLIB) LIB:scppc.a lib:end.o -o $@
Protect $@ +e
clean:
-$(RM) pdftest$(EXE) pdftest*.pdf $(OBJS)
maintainer-clean: clean
-$(RM) Makefile.in.bak
depend:
cp Makefile.in Makefile.in.bak
sed '/^# Automatically generated dependencies/q' Makefile.in.bak >Makefile.in
$(CC) $(CFLAGS) -MM $(SRC)>>Makefile.in
# Automatically generated dependencies
pdftest.o: pdftest.c /pdflib/pdflib.h